/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.openbookformat.tags;

import java.util.ArrayList;

/**
 *
 * @author MUFEED
 */
public class PoetTag implements Tag {
    private ArrayList<RhymeTag> rhymes;

    public PoetTag() {
        rhymes = new ArrayList<RhymeTag>();
    }

    public void addRhyme(RhymeTag rt){
        rhymes.add(rt);
    }

    public RhymeTag getRhyme(int idx) {
        return rhymes.get(idx);
    }

    public int size() {
        return rhymes.size();
    }
}
